package name.hankc.spring;

import name.hankc.spring.bean.Person;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AnnotationConfigApplication {

  public static void main(String[] args) throws Exception {
    ApplicationContext ctx = new AnnotationConfigApplicationContext(QuickstartConfiguration.class);
    Person person = ctx.getBean(Person.class);
    System.out.println(person);
  }
}